﻿using System.Collections.Generic;

namespace AjaxListBox
{
    public class Model
    {
        public int ID { get; set; }
        public string Name { get; set; }

        public List<Model> GetLeft()
        {
            List<Model> LeftData = new List<Model>();
            LeftData.Add(new Model()
            {
                 ID = 1,
                 Name = "Drinks"
            });
            LeftData.Add(new Model()
            {
                ID = 1,
                Name = "Food"
            });
            LeftData.Add(new Model()
            {
                ID = 1,
                Name = "Sport"
            });

            return LeftData;
        }

        public List<Model> GetRight()
        {
            List<Model> RightData = new List<Model>();
            RightData.Add(new Model()
            {
                ID = 1,
                Name = "Coke"
            });
            RightData.Add(new Model()
            {
                ID = 1,
                Name = "Pepsi"
            });
            RightData.Add(new Model()
            {
                ID = 1,
                Name = "Hot Dogs"
            });
            RightData.Add(new Model()
            {
                ID = 1,
                Name = "Soccer"
            });

            return RightData;
        }
    }

}
